//
//  SXStatusNormalCell.swift
//  微博09项目
//
//  Created by mac on 15/9/12.
//  Copyright © 2015年 itcast. All rights reserved.
//

import UIKit

class SXStatusNormalCell: SXStatusCell {
    override func setUpUI() {
        super.setUpUI()
        //没有转发的时候的配图 布局
        let cons = pictureView.ff_AlignVertical(type: ff_AlignType.BottomLeft, referView: contentLabel, size:CGSize(width: SXStatusPictureMaxWidth, height: SXStatusPictureItemWidth),offset:CGPoint(x: 0, y: SXStatusCellMargin))
        
        /// 获得图片约束的宽高
        pictureViewWidthCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Width)
        pictureViewHeightCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Height)
        pictureViewTopCons = pictureView.ff_Constraint(cons, attribute: NSLayoutAttribute.Top)
  
    }
}
